﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KPIS.GERP.GHRMS.MODEL;
using KPIS.GERP.GHRMS.IBLL;
using KPIS.GERP.GHRMS.IDAL;
using KPIS.GERP.GHRMS.DAL;

namespace KPIS.GERP.GHRMS.BLL
{
    public class TrainingLecturersBLL : ITrainingLecturersBLL
    {
        private static readonly ITrainingLecturersDAL dal = new TrainingLecturersDAL();

        public TrainingLecturersBLL()
        {

        }

        public IList<TrainingLecturersInfo> GetFull()
        {
            return dal.GetFull();
        }

        public IList<TrainingLecturersInfo> GetList()
        {
            return dal.GetList();
        }

        public void Insert(TrainingLecturersInfo info)
        {
            try
            {
                dal.Insert(info);
            }
            catch
            {
                throw;
            }
        }

        public void Update(TrainingLecturersInfo info)
        {
            try
            {
                dal.Update(info);
            }
            catch
            {
                throw;
            }
        }

        public void Delete(TrainingLecturersInfo info)
        {
            try
            {
                dal.Delete(info);
            }
            catch
            {
                throw;
            }
        }

    }
}
